<#list materialList as material>
<tr onclick='selectFunction(this)'>
			<td><p class='table-cgwlno'>${material_index+1}</p></td>
            <td><p class='table-cgwltp'><#if material.materialFile??><img src='${material.materialFile!}'><#else><img src='/ls-erp/static/images/pic-none.jpg'></#if></p></td>
            <td><p class='table-cgwlmcbm'><#if material.materialCode??>${material.materialCode}</#if><br><#if material.materialNameCN??>${material.materialNameCN}</#if></p></td>
            <td><p class='table-cgwlys'><#if material.materialColor??>${material.materialColor}</#if></p></td>
            <td><p class='table-cgwlcf'><#if material.materialComposition??>${material.materialComposition}</#if></p></td>
            <td><p class='table-cgwlfk'><#if material.materialSpec??>${material.materialSpec}</#if></p></td>
            <td><p class='table-cgwldw'><#if material.materialSpecUnitCD??>${dict.getDictName(material.materialSpecUnitCD)}</#if></p></td>
            <td><p class='table-cgwlghs'><#if material.ognizationNameB??>${material.ognizationNameB}</#if></p></td>
            <td><p class='table-cgwlhth'><#if material.customerContractNO??>${material.customerContractNO}</#if></p></td>
            <td><p class='table-cgwlkh'><#if material.styleCustomerNO??>${material.styleCustomerNO}</#if></p></td>
            <td><p class='table-cgwlydhl'></p></td>
            <td><p class='table-cgwlydsl'></p></td>
            <#if material.contractID??>
            	<input type ='hidden' class = 'contractID' value = '${material.contractID?c}' disabled='disabled'>
            <#else>
            	<input type ='hidden' class = 'contractID' value = '' disabled='disabled'>
            </#if>
            <#if material.indentID??>
            	<input type ='hidden' class = 'indentID' value = '${material.indentID?c}' disabled='disabled'>
            <#else>
            	<input type ='hidden' class = 'indentID' value = '' disabled='disabled'>
            </#if>
            <#if material.styleID??>
            	<input type ='hidden' class = 'styleID' value = '${material.styleID?c}' disabled='disabled'>
            <#else>
            	<input type ='hidden' class = 'styleID' value = '' disabled='disabled'>
            </#if>
            <input type ='hidden' class = 'materialReservePurchaseID' value = '${material.materialReservePurchaseID?c}' disabled='disabled'>
            <input type ='hidden' class = 'materialID' value = '${material.materialID?c}' disabled='disabled'>
            <#if material.materialFile?exists&material.materialFile!=''>
    			<input type ='hidden' class = 'materialFile' value = '${material.materialFile}' disabled='disabled'>
   			<#else>  
	     		<input type ='hidden' class = 'materialFile' value = '/ls-erp/static/images/pic-none.jpg' disabled='disabled'>
			</#if>
			<#if material.materialCode?exists&material.materialCode!=''>
    			<input type ='hidden' class = 'materialCode' value = '${material.materialCode}' disabled='disabled'>
   			<#else>  
	     		<input type ='hidden' class = 'materialCode' value = '' disabled='disabled'>
			</#if>
			<#if material.materialNameCN?exists&material.materialNameCN!=''>
    			<input type ='hidden' class = 'materialNameCN' value = '${material.materialNameCN}' disabled='disabled'>
   			<#else>  
	     		<input type ='hidden' class = 'materialNameCN' value = '' disabled='disabled'>
			</#if>
			<#if material.materialColor?exists&material.materialColor!=''>
    			<input type ='hidden' class = 'materialColor' value = '${material.materialColor}' disabled='disabled'>
   			<#else>  
	     		<input type ='hidden' class = 'materialColor' value = '' disabled='disabled'>
			</#if>
			<#if material.materialSpec?exists&material.materialSpec!=''>
    			<input type ='hidden' class = 'materialSpec' value = '${material.materialSpec}' disabled='disabled'>
   			<#else>  
	     		<input type ='hidden' class = 'materialSpec' value = '' disabled='disabled'>
			</#if>
			<#if material.materialSpecUnitCD?exists&material.materialSpecUnitCD!=''>
    			<input type ='hidden' class = 'materialSpecUnit' value = '${dict.getDictName(material.materialSpecUnitCD)}' disabled='disabled'>
   			<#else>  
	     		<input type ='hidden' class = 'materialSpecUnit' value = '' disabled='disabled'>
			</#if>
			<#if material.customerContractNO?exists&material.customerContractNO!=''>
    			<input type ='hidden' class = 'customerContractNO' value = '${material.customerContractNO}' disabled='disabled'>
   			<#else>  
	     		<input type ='hidden' class = 'customerContractNO' value = '' disabled='disabled'>
			</#if>
			<#if material.reserveQuantity?exists&material.reserveQuantity!=''>
    			<input type ='hidden' class = 'reserveQuantity' value = '${material.reserveQuantity}' disabled='disabled'>
   			<#else>  
	     		<input type ='hidden' class = 'reserveQuantity' value = '' disabled='disabled'>
			</#if>
			<#if material.realityQuantity?exists&material.realityQuantity!=''>
    			<input type ='hidden' class = 'realityQuantity' value = '${material.realityQuantity}' disabled='disabled'>
   			<#else>  
	     		<input type ='hidden' class = 'realityQuantity' value = '' disabled='disabled'>
			</#if>
			<#if material.purchaseReserveQuantity??>
		    	<input class = "purchaseReserveQuantity" type = "hidden" value = "${(material.purchaseReserveQuantity!)}">
		    <#else>
		        <input class = "purchaseReserveQuantity" type = "hidden" value = "">
		    </#if>
		    <#if material.purchaseUnitPrice??>
		    	<input class = "purchaseUnitPrice" type = "hidden" value = "${material.purchaseUnitPrice!}">
		    <#else>
		        <input class = "purchaseUnitPrice" type = "hidden" value = "">
		    </#if>
</tr>
</#list>